
int guiMain()
{
	Hbox MenuBar = new Hbox("match_parent","wrap_content");
	Button file = new Button("File")
	MenuBar.add(file)
	
	Text title = new Text("audioPlayer")
	
	
	Button play = new Button("play");
	Button pause = new Button("pause");
	Button stop = new Button("stop);
	
	play.setOnClick(new Button.onClickListener()
	{
		
	})
	Window window = createWindow(title,800,600,MenuBar);
	Vbox vbox = new Vbox("match_parent","match_parent");
	window.addRoot(vbox);
	Hbox controlBar = new Hbox("match_parent","wrap_content");
	controlBar.add(play);
	controlBar.add(pause);
	controlBar.add(stop);
}

void play(string filepath)
{
	// 遍历音频数据并播放
	for(int i=0;i<pcmdata.length;i++)
	{
		
	}
}

void pause(){}
void stop(){}